<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8" import="java.util.*"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
</head>
<body>
		<%
		Random r = new Random();
		int num = r.nextInt(10)+1;
		if(num >= 5){
			//response.sendRedirect("e.jsp");
			request.getRequestDispatcher("e.jsp").forward(request, response);
		}else{
			out.println("该数小于5");
		}
		%>
</body>
</html>